package com.ifinc.common.socket.netty;

/**
 * User: luotao
 * Date: 13-11-26
 * Time: 13:59
 */
public class ContextConfig {
    private String ip;

    private int port;

    private int timeout_conn;

    private int timeout_read;

    private boolean isConnection=false;//是否是长连接

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public int getTimeout_conn() {
        return timeout_conn;
    }

    public void setTimeout_conn(int timeout_conn) {
        this.timeout_conn = timeout_conn;
    }

    public int getTimeout_read() {
        return timeout_read;
    }

    public void setTimeout_read(int timeout_read) {
        this.timeout_read = timeout_read;
    }

    public boolean isConnection() {
        return isConnection;
    }

    public void setConnection(boolean connection) {
        isConnection = connection;
    }
}
